import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/view/test/Index'
import Info from '@/view/test/Info'
import StartAccount from '@/view/test/StartAccount'
import TimeDeposit from '@/view/test/TimeDeposit'
import DemandDeposit from '@/view/test/DemandDeposit'
import FindAndStatement from '@/view/test/findAndStatement'

Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/info',
      name: 'Info',
      component: Info
    },
    {
      path: '/startAccount',
      name: 'StartAccount',
      component: StartAccount
    },
    {
      path: '/timeDeposit',
      name: 'TimeDeposit',
      component: TimeDeposit
    },
    {
      path: '/demandDeposit',
      name: 'DemandDeposit',
      component: DemandDeposit
    },
    {
      path: '/findAndStatement',
      name: 'FindAndStatement',
      component: FindAndStatement
    }
  ]
})
